<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>应急响应</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <link rel="stylesheet" href="styles.css">
    <style>
        .emergency-header {
            background-color: #f44336;
            color: white;
            padding: 20px 16px;
            text-align: center;
        }
        .emergency-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 8px;
        }
        .emergency-subtitle {
            opacity: 0.9;
            font-size: 14px;
        }
        .sos-button-container {
            padding: 24px 0;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: white;
        }
        .sos-button {
            width: 120px;
            height: 120px;
            border-radius: 60px;
            background: linear-gradient(135deg, #f44336, #d32f2f);
            color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
            border: none;
            cursor: pointer;
        }
        .sos-button i {
            font-size: 36px;
            margin-bottom: 8px;
        }
        .sos-button span {
            font-size: 24px;
            font-weight: bold;
        }
        .sos-description {
            text-align: center;
            color: #666;
            padding: 0 16px 16px;
            font-size: 14px;
            background-color: white;
        }
        .emergency-services {
            margin-top: 16px;
        }
        .service-item {
            display: flex;
            align-items: center;
            padding: 16px;
            background-color: white;
            border-radius: 12px;
            margin-bottom: 12px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .service-icon {
            width: 50px;
            height: 50px;
            border-radius: 25px;
            background-color: #fbe9e7;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 16px;
            color: #d32f2f;
            flex-shrink: 0;
        }
        .service-info {
            flex: 1;
        }
        .service-name {
            font-weight: bold;
            margin-bottom: 4px;
        }
        .service-desc {
            font-size: 13px;
            color: #666;
            line-height: 1.4;
        }
        .service-action {
            background-color: #f44336;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 13px;
            margin-left: 12px;
        }
        .emergency-map {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            margin-top: 16px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .map-container {
            height: 180px;
            background-color: #e0e0e0;
            position: relative;
            overflow: hidden;
        }
        .map-placeholder {
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"%3E%3Crect width="1000" height="500" fill="%23E8F5E9"/%3E%3Cpath d="M100,200 L300,100 L500,150 L700,50 L900,100 L900,400 L100,400 Z" fill="%2381C784"/%3E%3Cpath d="M300,100 L330,70 L360,110 L390,80 L420,120 L450,90 L480,130 L500,150" fill="none" stroke="%23558B2F" stroke-width="5"/%3E%3Cpath d="M400,300 C500,250 600,350 700,300" stroke="%232196F3" stroke-width="8" stroke-linecap="round"/%3E%3Ccircle cx="500" cy="250" r="15" fill="%23F44336"/%3E%3C/svg%3E');
            background-size: cover;
            background-position: center;
        }
        .map-overlay {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background-color: rgba(255,255,255,0.9);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            display: flex;
            align-items: center;
        }
        .map-overlay i {
            margin-right: 6px;
            color: #F44336;
        }
        .map-info {
            padding: 12px 16px;
        }
        .location-text {
            font-weight: bold;
            margin-bottom: 4px;
        }
        .coordinates {
            font-size: 13px;
            color: #666;
            margin-bottom: 12px;
        }
        .emergency-tips {
            margin-top: 16px;
        }
        .tip-item {
            background-color: white;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 12px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .tip-header {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }
        .tip-icon {
            width: 32px;
            height: 32px;
            border-radius: 16px;
            background-color: #fbe9e7;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            color: #d32f2f;
        }
        .tip-title {
            font-weight: bold;
        }
        .tip-content {
            font-size: 14px;
            color: #555;
            line-height: 1.5;
        }
        .status-badge {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            background-color: #4CAF50;
            color: white;
            margin-left: auto;
        }
        .status-badge.inactive {
            background-color: #757575;
        }
        .emergency-contacts {
            background-color: white;
            border-radius: 12px;
            padding: 16px;
            margin-top: 16px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .contacts-title {
            font-weight: bold;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }
        .contacts-title i {
            margin-right: 8px;
            color: #d32f2f;
        }
        .contact-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        .contact-item {
            display: flex;
            align-items: center;
            padding: 10px;
            border: 1px solid #eee;
            border-radius: 8px;
        }
        .contact-icon {
            width: 36px;
            height: 36px;
            border-radius: 18px;
            background-color: #fbe9e7;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            color: #d32f2f;
        }
        .contact-info {
            font-size: 13px;
        }
        .contact-name {
            font-weight: bold;
            margin-bottom: 2px;
        }
        .contact-number {
            color: #666;
        }
    </style>
</head>
<body>
    <div class="app-header" style="background-color: #d32f2f;">
        <div class="header-title">应急响应</div>
        <div class="header-actions">
            <i class="fas fa-bell"></i>
        </div>
    </div>

    <div class="emergency-header">
        <div class="emergency-title">紧急救援系统</div>
        <div class="emergency-subtitle">遇到紧急情况，一键求助</div>
    </div>

    <div class="sos-button-container">
        <button class="sos-button">
            <i class="fas fa-phone-alt"></i>
            <span>SOS</span>
        </button>
    </div>
    <div class="sos-description">
        点击上方按钮将发送您的位置信息并连接至景区应急中心
    </div>

    <div class="app-content">
        <div class="emergency-map">
            <div class="map-container">
                <div class="map-placeholder"></div>
                <div class="map-overlay">
                    <i class="fas fa-map-marker-alt"></i>
                    <span>您的当前位置</span>
                </div>
            </div>
            <div class="map-info">
                <div class="location-text">天门山游客中心附近</div>
                <div class="coordinates">经度: 110.4762° E, 纬度: 29.1351° N</div>
                <button class="btn btn-primary w-full">
                    <i class="fas fa-share-square"></i> 分享我的位置
                </button>
            </div>
        </div>

        <div class="emergency-services">
            <div class="service-item">
                <div class="service-icon">
                    <i class="fas fa-first-aid fa-lg"></i>
                </div>
                <div class="service-info">
                    <div class="service-name">医疗救援</div>
                    <div class="service-desc">急救医疗服务，专业医护人员会尽快赶到您的位置</div>
                </div>
                <button class="service-action">呼叫</button>
            </div>
            <div class="service-item">
                <div class="service-icon">
                    <i class="fas fa-user-shield fa-lg"></i>
                </div>
                <div class="service-info">
                    <div class="service-name">安全保卫</div>
                    <div class="service-desc">应对安全威胁或可疑情况，安保人员紧急支援</div>
                </div>
                <button class="service-action">呼叫</button>
            </div>
            <div class="service-item">
                <div class="service-icon">
                    <i class="fas fa-hands-helping fa-lg"></i>
                </div>
                <div class="service-info">
                    <div class="service-name">游客援助</div>
                    <div class="service-desc">迷路、物品丢失或需要其他非紧急协助</div>
                </div>
                <button class="service-action">呼叫</button>
            </div>
        </div>

        <div class="emergency-tips">
            <div class="tip-item">
                <div class="tip-header">
                    <div class="tip-icon">
                        <i class="fas fa-exclamation-triangle"></i>
                    </div>
                    <div class="tip-title">地质灾害预警</div>
                    <div class="status-badge">正常</div>
                </div>
                <div class="tip-content">
                    目前景区地质状况稳定，无滑坡、泥石流等风险。请游客安心游览，注意遵循指示牌引导。
                </div>
            </div>
            <div class="tip-item">
                <div class="tip-header">
                    <div class="tip-icon">
                        <i class="fas fa-cloud-sun-rain"></i>
                    </div>
                    <div class="tip-title">极端天气预警</div>
                    <div class="status-badge inactive">无预警</div>
                </div>
                <div class="tip-content">
                    近期天气状况良好，无强降雨、雷电等极端天气。建议游客仍随身携带雨具，防止天气突变。
                </div>
            </div>
        </div>

        <div class="emergency-contacts">
            <div class="contacts-title">
                <i class="fas fa-phone-alt"></i>
                <span>紧急联系电话</span>
            </div>
            <div class="contact-list">
                <div class="contact-item">
                    <div class="contact-icon">
                        <i class="fas fa-ambulance"></i>
                    </div>
                    <div class="contact-info">
                        <div class="contact-name">急救电话</div>
                        <div class="contact-number">120</div>
                    </div>
                </div>
                <div class="contact-item">
                    <div class="contact-icon">
                        <i class="fas fa-fire-extinguisher"></i>
                    </div>
                    <div class="contact-info">
                        <div class="contact-name">火警电话</div>
                        <div class="contact-number">119</div>
                    </div>
                </div>
                <div class="contact-item">
                    <div class="contact-icon">
                        <i class="fas fa-shield-alt"></i>
                    </div>
                    <div class="contact-info">
                        <div class="contact-name">匪警电话</div>
                        <div class="contact-number">110</div>
                    </div>
                </div>
                <div class="contact-item">
                    <div class="contact-icon">
                        <i class="fas fa-info-circle"></i>
                    </div>
                    <div class="contact-info">
                        <div class="contact-name">景区服务</div>
                        <div class="contact-number">0744-8888888</div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="bottom-nav">
        <div class="nav-item">
            <i class="fas fa-home"></i>
            <span>首页</span>
        </div>
        <div class="nav-item">
            <i class="fas fa-map-marked-alt"></i>
            <span>地图</span>
        </div>
        <div class="nav-item">
            <i class="fas fa-dragon"></i>
            <span>精灵</span>
        </div>
        <div class="nav-item">
            <i class="fas fa-robot"></i>
            <span>导游</span>
        </div>
        <div class="nav-item active">
            <i class="fas fa-user"></i>
            <span>我的</span>
        </div>
    </div>
</body>
</html> 